<%= form_for(@mobile) do |f| %>
  <% if @mobile.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@mobile.errors.count, "error") %> prohibited this mobile from being saved:</h2>

      <ul>
      <% @mobile.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :virtual_number %><br />
    <%= f.text_field :virtual_number %>
  </div>
  <div class="field">
    <%= f.label :alias_list %><br />
    <%= f.text_field :alias_list %>
  </div>
  <div class="field">
    <%= f.label :short_description %><br />
    <%= f.text_field :short_description %>
  </div>
  <div class="field">
    <%= f.label :long_description %><br />
    <%= f.text_field :long_description %>
  </div>
  <div class="field">
    <%= f.label :detailed_description %><br />
    <%= f.text_area :detailed_description %>
  </div>
  <div class="field">
    <%= f.label :alignment %><br />
    <%= f.text_field :alignment %>
  </div>
  <div class="field">
    <%= f.label :mobile_type_flag_id %><br />
    <%= f.text_field :mobile_type_flag_id %>
  </div>
  <div class="field">
    <%= f.label :level %><br />
    <%= f.text_field :level %>
  </div>
  <div class="field">
    <%= f.label :thaco %><br />
    <%= f.text_field :thaco %>
  </div>
  <div class="field">
    <%= f.label :armor_class %><br />
    <%= f.text_field :armor_class %>
  </div>
  <div class="field">
    <%= f.label :max_hit_points %><br />
    <%= f.text_field :max_hit_points %>
  </div>
  <div class="field">
    <%= f.label :bare_handed_damage %><br />
    <%= f.text_field :bare_handed_damage %>
  </div>
  <div class="field">
    <%= f.label :gold %><br />
    <%= f.text_field :gold %>
  </div>
  <div class="field">
    <%= f.label :experience_points %><br />
    <%= f.text_field :experience_points %>
  </div>
  <div class="field">
    <%= f.label :load_position_id %><br />
    <%= f.text_field :load_position_id %>
  </div>
  <div class="field">
    <%= f.label :default_position_id %><br />
    <%= f.text_field :default_position_id %>
  </div>
  <div class="field">
    <%= f.label :sex_id %><br />
    <%= f.text_field :sex_id %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
